WP_Defender\Component\Password_Protection A

Total Complexity 59
Dependencies 8
Dependents 5
Total lines 422
Lines of code 211
Logical lines of code 108
Comment lines 140
Methods 18
Properties 3

Methods 18

Method Rating Maintainability Complexity Lines of code
is_enabled_by_user_role()
A
49 8 32
get_reset_password_redirect_url()
S
53 4 26
add_woocommerce_error_message()
S
62 5 11
check_pwned_password()
S
52 4 24
hosting_compatibility()
S
57 4 15
remove_extra_cookies()
S
60 4 13
is_weak_password()
S
67 4 7
get_submitted_password()
S
62 3 11
do_force_reset()
S
63 3 11
do_weak_reset()
S
63 3 11
remove_cookie_notice()
S
69 3 6
password_last_changed()
S
64 3 10
is_force_reset()
S
68 3 7
trigger_redirect()
S
62 2 11
set_cookie_notice()
S
72 2 5
check_expired_password()
S
78 2 3
__construct()
S
73 1 5
handle_password_updated()
S
79 1 3